<?php
	date_default_timezone_set('Asia/Seoul');
	// echo date_default_timezone_get();
	$filename = "log.txt";
	$date = date('Y/m/d A h:i:s', time());
	$content = "\nIP:[".$_SERVER['REMOTE_ADDR']."] Time:[$date]";
	
	$bytesWritten = File::append($filename, $content);
	if ($bytesWritten === false)
	{
    	die("Couldn't write to the file.");
	}
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>HOLO FACTORY - The War of Zombie Virus</title>

    <!-- Bootstrap Core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="css/grayscale.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
    	@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);
    	@import url(http://fonts.googleapis.com/earlyaccess/hanna.css);
    	body {
    		font-family:'Nanum Gothic'
    	};
    </style>

</head>

<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
	
    <!-- Navigation -->
    <nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
                    <i class="fa fa-bars"></i>
                </button>
                <a class="navbar-brand page-scroll" href="#page-top">
                    <i class="fa fa-play-circle"></i>  <span class="light">HOLO FACTORY</span>
                </a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse navbar-right navbar-main-collapse">
                <ul class="nav navbar-nav">
                    <!-- Hidden li included to remove active class from about link when scrolled up past about section -->
                    <li class="hidden">
                        <a href="#page-top"></a>
                    </li>
                    <li>
                        <a class="page-scroll" href="#about">About</a>
                    </li>
                    <li>
                        <a class="page-scroll" href="#download">Download</a>
                    </li>
                    <li>
                        <a class="page-scroll" href="#contact">Contact</a>
                    </li>
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container -->
    </nav>

    <!-- Intro Header -->
    <header class="intro">
        <div class="intro-body">
            <div class="container">
                <div class="row">
                    <div class="col-md-8 col-md-offset-2">
                        <h1 class="brand-heading">The War of Zombie Virus</h1>
                        <p class="intro-text">환영합니다</p>
                        <a href="#about" class="btn btn-circle page-scroll">
                            <i class="fa fa-angle-double-down animated"></i>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </header>

    <!-- About Section -->
    <section id="about" class="container content-section text-center">
        <div class="row">
            <div class="col-lg-8 col-lg-offset-2">
                <h2>HOLO FACTORY</h2>
                <p>우리는 전략 시뮬레이션 게임 The War of Zombie Virus 를 만들고 있습니다.</p>
                <p>게임 동영상은 <a href="https://drive.google.com/file/d/0B49GuAs25lDhQm1wYkRtLXY5UnM/edit?usp=sharing">여기</a> 에서 볼 수 있습니다.</p>
                <p>Beta 버전의 게임은 <a class="page-scroll" href="#download">여기</a> 혹은 바로 아래에서 다운로드 가능합니다.</p>
            </div>
        </div>
    </section>

    <!-- Download Section -->
    <section id="download" class="content-section text-center">
        <div class="download-section">
            <div class="container">
                <div class="col-lg-8 col-lg-offset-2">
                    <h2>Download Game and guide book</h2>
                    <p>You can download The War of Zombie Virus for free here.</p>
                    <!--
                    <a href="./downloads/32" class="btn btn-default btn-lg">Game for 32 bit</a></br></br>
                    -->
                    <a href="./downloads/64" class="btn btn-default btn-lg">Game for 64 bit</a></br></br>
                    <a href="./downloads/guide" class="btn btn-default btn-lg">Guide Book</a>
                </div>
            </div>
        </div>
    </section>

    <!-- Contact Section -->
    <section id="contact" class="container content-section text-center">
        <div class="row">
            <div class="col-lg-8 col-lg-offset-2">
                <h2>Contact Holo Factory</h2>
                <p>Feel free to email us to provide some feedback on our game, give us suggestions for new inspiration</p>
                <p>Dong-uk Kim <a href="mailto:ostduft@gmail.com">ostduft@gmail.com</a></p>
                <p>Seonjun Bae <a href="mailto:bsj1344@gmail.com">bsj1344@gmail.com</a></p>
                <p>Hyuncheul Lim <a href="mailto:cjftya@gmail.com">cjftya@gmail.com</a></p>
                <p>Deokil Choi <a href="mailto:cdi1318@gmail.com">cdi1318@gmail.com</a></p>
                <!--
                <ul class="list-inline banner-social-buttons">
                    <li>
                        <a href="https://twitter.com/SBootstrap" class="btn btn-default btn-lg"><i class="fa fa-twitter fa-fw"></i> <span class="network-name">Twitter</span></a>
                    </li>
                    <li>
                        <a href="https://github.com/IronSummitMedia/startbootstrap" class="btn btn-default btn-lg"><i class="fa fa-github fa-fw"></i> <span class="network-name">Github</span></a>
                    </li>
                    <li>
                        <a href="https://plus.google.com/+Startbootstrap/posts" class="btn btn-default btn-lg"><i class="fa fa-google-plus fa-fw"></i> <span class="network-name">Google+</span></a>
                    </li>
                </ul>
                -->
            </div>
        </div>
    </section>

    <!-- Map Section -->
    <div id="map"></div>

    <!-- Footer -->
    <footer>
        <div class="container text-center">
            <p>Copyright &copy; Holo Factory 2014</p>
        </div>
    </footer>

    <!-- jQuery Version 1.11.0 -->
    <script src="js/jquery-1.11.0.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="js/bootstrap.min.js"></script>

    <!-- Plugin JavaScript -->
    <script src="js/jquery.easing.min.js"></script>

    <!-- Google Maps API Key - Use your own API key to enable the map feature. More information on the Google Maps API can be found at https://developers.google.com/maps/ -->
    <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCRngKslUGJTlibkQ3FkfTxj3Xss1UlZDA&sensor=false"></script>

    <!-- Custom Theme JavaScript -->
    <script src="bootstrap/js/grayscale.js"></script>

</body>

</html>
